package com.example.sprinbootdemo.mapper;

import com.example.sprinbootdemo.entity.Renter;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface RenterMapper {
    List<Renter> selectAll();
    void addRenter(Renter renter);
    void deleteRenterById(int renterId);
    void updateRenterById(Renter renter);
    List<Renter> getRentersByName(String name);
}
